package micro.data.mapper;

import micro.data.model.User;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * @author txw
 * @version V1.0
 * @Title: UserMapper
 * @ProjectName micro-user-server
 * @Description: 用户db
 * @since 2018/6/18 23:49
 */
@Mapper
public interface UserMapper extends BaseDbMapper<User> {
    /**
     * 用户登录
     * @param name
     * @param pwd
     * @return
     */
    User login(@Param("name")String name,@Param("pwd") String pwd);
}
